PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Jewel / Goody + martin - crystal palace - Taken.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=5 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=5.552 |
| 27 | fWaveSmoothing=0.504 |
| 28 | fWaveParam=-1.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.50330 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=0.600 |
| 86 | wavecode_0_b=0.400 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1= |
| 89 | wave_0_per_point2=x0 = .5 + .4 * sin(time/2); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=angle = int(rand(1000))/1000*6.28; |
| 92 | wave_0_per_point5=rad = int(rand(1000))/1000; |
| 93 | wave_0_per_point6=rad = rad * rad; |
| 94 | wave_0_per_point7= |
| 95 | wave_0_per_point8=x = x0 + .1*rad*sin(angle); |
| 96 | wave_0_per_point9=y = .5 + .1*rad*cos(angle); |
| 97 | wave_0_per_point10= a = 1-rad; |
| 98 | wavecode_1_enabled=0 |
| 99 | wavecode_1_samples=512 |
| 100 | wavecode_1_sep=0 |
| 101 | wavecode_1_bSpectrum=0 |
| 102 | wavecode_1_bUseDots=0 |
| 103 | wavecode_1_bDrawThick=1 |
| 104 | wavecode_1_bAdditive=1 |
| 105 | wavecode_1_scaling=1.00000 |
| 106 | wavecode_1_smoothing=0.50000 |
| 107 | wavecode_1_r=1.000 |
| 108 | wavecode_1_g=1.000 |
| 109 | wavecode_1_b=1.000 |
| 110 | wavecode_1_a=1.000 |
| 111 | wave_1_per_frame1=trel = q11-.0; |
| 112 | wave_1_per_frame2=t1 = int(trel); |
| 113 | wave_1_per_frame3=t2 = trel - int(trel); |
| 114 | wavecode_2_enabled=0 |
| 115 | wavecode_2_samples=512 |
| 116 | wavecode_2_sep=0 |
| 117 | wavecode_2_bSpectrum=0 |
| 118 | wavecode_2_bUseDots=0 |
| 119 | wavecode_2_bDrawThick=1 |
| 120 | wavecode_2_bAdditive=0 |
| 121 | wavecode_2_scaling=1.00000 |
| 122 | wavecode_2_smoothing=0.50000 |
| 123 | wavecode_2_r=1.000 |
| 124 | wavecode_2_g=1.000 |
| 125 | wavecode_2_b=1.000 |
| 126 | wavecode_2_a=1.000 |
| 127 | wave_2_per_frame1=trel = q11-.33; |
| 128 | wave_2_per_frame2=t1 = int(trel); |
| 129 | wave_2_per_frame3=t2 = trel - int(trel); |
| 130 | wavecode_3_enabled=0 |
| 131 | wavecode_3_samples=512 |
| 132 | wavecode_3_sep=0 |
| 133 | wavecode_3_bSpectrum=0 |
| 134 | wavecode_3_bUseDots=0 |
| 135 | wavecode_3_bDrawThick=1 |
| 136 | wavecode_3_bAdditive=1 |
| 137 | wavecode_3_scaling=1.00000 |
| 138 | wavecode_3_smoothing=0.50000 |
| 139 | wavecode_3_r=1.000 |
| 140 | wavecode_3_g=1.000 |
| 141 | wavecode_3_b=1.000 |
| 142 | wavecode_3_a=1.000 |
| 143 | wave_3_per_frame1=trel = q11-.66; |
| 144 | wave_3_per_frame2=t1 = int(trel); |
| 145 | wave_3_per_frame3=t2 = trel - int(trel); |
| 146 | shapecode_0_enabled=0 |
| 147 | shapecode_0_sides=100 |
| 148 | shapecode_0_additive=0 |
| 149 | shapecode_0_thickOutline=0 |
| 150 | shapecode_0_textured=1 |
| 151 | shapecode_0_num_inst=1 |
| 152 | shapecode_0_x=0.800 |
| 153 | shapecode_0_y=0.500 |
| 154 | shapecode_0_rad=0.24243 |
| 155 | shapecode_0_ang=0.00000 |
| 156 | shapecode_0_tex_ang=1.88496 |
| 157 | shapecode_0_tex_zoom=1.72851 |
| 158 | shapecode_0_r=0.800 |
| 159 | shapecode_0_g=1.000 |
| 160 | shapecode_0_b=0.500 |
| 161 | shapecode_0_a=0.600 |
| 162 | shapecode_0_r2=0.900 |
| 163 | shapecode_0_g2=0.900 |
| 164 | shapecode_0_b2=1.000 |
| 165 | shapecode_0_a2=0.300 |
| 166 | shapecode_0_border_r=1.000 |
| 167 | shapecode_0_border_g=1.000 |
| 168 | shapecode_0_border_b=1.000 |
| 169 | shapecode_0_border_a=0.000 |
| 170 | shapecode_1_enabled=0 |
| 171 | shapecode_1_sides=100 |
| 172 | shapecode_1_additive=0 |
| 173 | shapecode_1_thickOutline=0 |
| 174 | shapecode_1_textured=1 |
| 175 | shapecode_1_num_inst=1 |
| 176 | shapecode_1_x=0.130 |
| 177 | shapecode_1_y=0.190 |
| 178 | shapecode_1_rad=0.11045 |
| 179 | shapecode_1_ang=0.00000 |
| 180 | shapecode_1_tex_ang=3.14159 |
| 181 | shapecode_1_tex_zoom=1.71105 |
| 182 | shapecode_1_r=1.000 |
| 183 | shapecode_1_g=0.000 |
| 184 | shapecode_1_b=1.000 |
| 185 | shapecode_1_a=1.000 |
| 186 | shapecode_1_r2=1.000 |
| 187 | shapecode_1_g2=1.000 |
| 188 | shapecode_1_b2=1.000 |
| 189 | shapecode_1_a2=1.000 |
| 190 | shapecode_1_border_r=1.000 |
| 191 | shapecode_1_border_g=1.000 |
| 192 | shapecode_1_border_b=1.000 |
| 193 | shapecode_1_border_a=0.000 |
| 194 | shapecode_2_enabled=0 |
| 195 | shapecode_2_sides=5 |
| 196 | shapecode_2_additive=1 |
| 197 | shapecode_2_thickOutline=0 |
| 198 | shapecode_2_textured=0 |
| 199 | shapecode_2_num_inst=1 |
| 200 | shapecode_2_x=0.900 |
| 201 | shapecode_2_y=0.500 |
| 202 | shapecode_2_rad=0.22613 |
| 203 | shapecode_2_ang=0.00000 |
| 204 | shapecode_2_tex_ang=0.00000 |
| 205 | shapecode_2_tex_zoom=1.00000 |
| 206 | shapecode_2_r=1.000 |
| 207 | shapecode_2_g=0.200 |
| 208 | shapecode_2_b=0.200 |
| 209 | shapecode_2_a=1.000 |
| 210 | shapecode_2_r2=0.000 |
| 211 | shapecode_2_g2=0.000 |
| 212 | shapecode_2_b2=0.000 |
| 213 | shapecode_2_a2=0.000 |
| 214 | shapecode_2_border_r=1.000 |
| 215 | shapecode_2_border_g=1.000 |
| 216 | shapecode_2_border_b=0.000 |
| 217 | shapecode_2_border_a=0.000 |
| 218 | shapecode_3_enabled=0 |
| 219 | shapecode_3_sides=36 |
| 220 | shapecode_3_additive=1 |
| 221 | shapecode_3_thickOutline=0 |
| 222 | shapecode_3_textured=0 |
| 223 | shapecode_3_num_inst=1 |
| 224 | shapecode_3_x=0.500 |
| 225 | shapecode_3_y=0.500 |
| 226 | shapecode_3_rad=0.18717 |
| 227 | shapecode_3_ang=0.00000 |
| 228 | shapecode_3_tex_ang=0.00000 |
| 229 | shapecode_3_tex_zoom=1.00000 |
| 230 | shapecode_3_r=0.000 |
| 231 | shapecode_3_g=0.020 |
| 232 | shapecode_3_b=0.000 |
| 233 | shapecode_3_a=1.000 |
| 234 | shapecode_3_r2=0.000 |
| 235 | shapecode_3_g2=0.000 |
| 236 | shapecode_3_b2=0.000 |
| 237 | shapecode_3_a2=0.000 |
| 238 | shapecode_3_border_r=1.000 |
| 239 | shapecode_3_border_g=1.000 |
| 240 | shapecode_3_border_b=1.000 |
| 241 | shapecode_3_border_a=0.000 |
| 242 | per_frame_init_1=vol = 0; p1 = 0; |
| 243 | per_frame_init_2=vx = .2; vy = -0.1; |
| 244 | per_frame_init_3=kx = 0; ky = 0; |
| 245 | per_frame_init_4= |
| 246 | per_frame_1=dec_med = pow (0.96, 30/fps); |
| 247 | per_frame_2=dec_slow = pow (0.98, 30/fps); |
| 248 | per_frame_3=beat = max (max (bass, mid), treb); |
| 249 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 250 | per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2); |
| 251 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 252 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 253 | per_frame_8=index = (index + is_beat) %8; |
| 254 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%2; |
| 255 | per_frame_10=index3 = (index3 + is_beat*bnot(index) * bnot(index2))%2; |
| 256 | per_frame_11= |
| 257 | per_frame_12=q20 = avg; |
| 258 | per_frame_13=q21 = beat; |
| 259 | per_frame_14=q22 = peak; |
| 260 | per_frame_15=q23 = index; |
| 261 | per_frame_16=q24 = is_beat; |
| 262 | per_frame_17= |
| 263 | per_frame_18=vol = bass_att + treb_att; |
| 264 | per_frame_19=v2 = v2 * dec_slow + vol * (1-dec_slow) ; |
| 265 | per_frame_20=q26 = max(atan (vol - v2*.8),.3); |
| 266 | per_frame_21= |
| 267 | per_frame_22=q27 = index + 1; |
| 268 | per_frame_23= |
| 269 | per_frame_24=sw = sw*dec_med + (1-dec_med)*(index2%2); |
| 270 | per_frame_25=q28 = sw; |
| 271 | per_frame_26= |
| 272 | per_frame_27=k1 = is_beat*bnot(index); |
| 273 | per_frame_28=k2 = is_beat*bnot(index); |
| 274 | per_frame_29= |
| 275 | per_frame_30=p1 = k1*(p1+1) + (1-k1)*p1; |
| 276 | per_frame_31=p2 = dec_slow * p2+ (1-dec_slow)*p1; |
| 277 | per_frame_32=rott = p2 * 3.1416/2; |
| 278 | per_frame_33=monitor = k1; |
| 279 | per_frame_34=q1 = cos(rott); |
| 280 | per_frame_35=q2 = sin(rott); |
| 281 | per_frame_36=q3 = -q2; |
| 282 | per_frame_37=q4 = q1; |
| 283 | per_frame_38= |
| 284 | per_frame_39= |
| 285 | per_frame_40=q5 = cos(time/6); |
| 286 | per_frame_41=q6 = -sin(time/6); |
| 287 | per_frame_42=q7 = -q6; |
| 288 | per_frame_43=q8 = q5; |
| 289 | per_frame_44= |
| 290 | per_frame_45=zoom = 1; |
| 291 | per_frame_46=rot = -0; |
| 292 | per_frame_47= |
| 293 | per_frame_48=movez = movez + .006*(q1+1.1)*30/fps; |
| 294 | per_frame_49=q29 = movez; |
| 295 | per_frame_50=rota = rota + .003*(2-q1)*30/fps; |
| 296 | per_frame_51=q30 = rota; |
| 297 | per_frame_52=q31 = 2 + 16*abs(cos(time/18)); |
| 298 | per_frame_53=q32 = cos(time/23)/4; |
| 299 | per_frame_54= |
| 300 | per_frame_55= |
| 301 | per_frame_56= |
| 302 | warp_1=`float3 mus; |
| 303 | warp_2=`float2 rs, uv1, uv6, uv7, uv8; |
| 304 | warp_3=`float dx,dy; |
| 305 | warp_4=` |
| 306 | warp_5=`shader_body { |
| 307 | warp_6=`uv = uv_orig; |
| 308 | warp_7=`uv1 = (uv-.5) * aspect.xy; |
| 309 | warp_8=` |
| 310 | warp_9=`//BACKGROUND |
| 311 | warp_10=`float z = 16*length(uv1*5)+time; |
| 312 | warp_11=`float2 uvn =normalize(uv1); |
| 313 | warp_12=`rs = clamp(tan(z)*uvn,-5,5)/2; |
| 314 | warp_13=` |
| 315 | warp_14=`//CRYSTAL |
| 316 | warp_15=`float mult = q31*4; |
| 317 | warp_16=`uv7 = sin(uv1*mult); |
| 318 | warp_17=`uv8 = uv7; |
| 319 | warp_18=`float dist = length(uv8); |
| 320 | warp_19=`dist *= (abs(uv1.x) + abs(uv1.y))+ q32; |
| 321 | warp_20=` |
| 322 | warp_21=`float ang2 = atan2 (uv8.y,uv8.x); |
| 323 | warp_22=`ang2 = 1*floor (1* ang2); |
| 324 | warp_23=`float2 dir = .095*uv8+float2 (cos(ang2), sin(ang2)); |
| 325 | warp_24=` |
| 326 | warp_25=`z = (1-cos(8*dist)); |
| 327 | warp_26=`z *= .200*saturate (lum(z)); |
| 328 | warp_27=` |
| 329 | warp_28=`//ADD |
| 330 | warp_29=`float mask = (z <= 1); //momentan beliebig |
| 331 | warp_30=`rs = q28*rs + (1-q28)*rs.yx; |
| 332 | warp_31=`uv += (1-mask)*3*(rs.yx) + .5*mask*z*normalize(z.x); |
| 333 | warp_32=` |
| 334 | warp_33=`//ZENTRALSTRAHL |
| 335 | warp_34=`uv6 = mul (uv1,float2x2(_qb*.50)); |
| 336 | warp_35=`mus = .25*abs(0.0225/(sqrt(uv6.x)+.0))*(.3); |
| 337 | warp_36=` |
| 338 | warp_37=`//DOTS |
| 339 | warp_38=`float2 uv2 = 8*uv1+.3*sin(uv1*16+4*float2 (q5,q6)); |
| 340 | warp_39=`uv2 *= 2.6; |
| 341 | warp_40=`float3 dots = q26*saturate(.00065/(length(uv2))); |
| 342 | warp_41=`float3 blur = GetBlur1(frac(uv)); |
| 343 | warp_42=`float3 crisp= GetPixel(uv); |
| 344 | warp_43=`float3 diff = (crisp) - .5*blur; |
| 345 | warp_44=`float3 ret1 = crisp + mus + dots; |
| 346 | warp_45=` |
| 347 | warp_46=`float3 mod = tex2D (sampler_noise_lq,50*uv+time*.1)-.25; |
| 348 | warp_47=`mod = .98 - mod*diff; |
| 349 | warp_48=` |
| 350 | warp_49=`ret = (1-mask)*ret1*mod + mask*ret1*mod; |
| 351 | warp_50=`ret *= float3(.89,.96,.965)+.05*tex2D(sampler_noise_lq,uv); |
| 352 | warp_51=`ret *= 2*float3(.98,.89,.92)*lum(uv_orig); |
| 353 | warp_52=` |
| 354 | warp_53=` |
| 355 | warp_54=`ret *= .96- .1; |
| 356 | warp_55=` |
| 357 | warp_56=`} |
| 358 | comp_1=`float3 ret1, neu, crisp, blur; |
| 359 | comp_2=`float2 uv2, uv3; |
| 360 | comp_3=` |
| 361 | comp_4=`shader_body |
| 362 | comp_5=`{ |
| 363 | comp_6=`ret=tex2D(sampler_fc_main, uv); |
| 364 | comp_7=` |
| 365 | comp_8=`float ang2, c, s; |
| 366 | comp_9=`uv -= .5; |
| 367 | comp_10=`uv *= aspect.xy; |
| 368 | comp_11=` |
| 369 | comp_12=`float2 tmp = uv_orig.xyy*ret.x; |
| 370 | comp_13=`float dist = 0; |
| 371 | comp_14=`float inten = 0; |
| 372 | comp_15=`float mask = 0; |
| 373 | comp_16=`ret1 = .0; |
| 374 | comp_17=`int anz = 14; |
| 375 | comp_18=`float n = 0; |
| 376 | comp_19=`float t_rel = q29; |
| 377 | comp_20=`while (n <= anz) { |
| 378 | comp_21=` ang2 = 6.28*n/anz+q30; |
| 379 | comp_22=` c = cos(ang2); |
| 380 | comp_23=` s = sin(ang2); |
| 381 | comp_24=` uv2.x = uv.x*c - uv.y*s; |
| 382 | comp_25=` uv2.y = uv.x*s + uv.y*c; |
| 383 | comp_26=` uv2*= aspect.yx; |
| 384 | comp_27=` |
| 385 | comp_28=` dist = 1-frac(n/anz+t_rel); //evtl sqrt ! |
| 386 | comp_29=` |
| 387 | comp_30=` inten = 16*dist*(1-dist*dist); |
| 388 | comp_31=` uv3 = 3*uv2*dist*1.25; |
| 389 | comp_32=` crisp = GetPixel(uv3*1.2); |
| 390 | comp_33=` blur = GetBlur1(frac(uv3)) * float3 (.5,.9,1); |
| 391 | comp_34=` ret1 = max(ret1,(crisp*2+blur)*inten); |
| 392 | comp_35=`n++; |
| 393 | comp_36=`} |
| 394 | comp_37=` |
| 395 | comp_38=`float3 ret1 = ret1 ; |
| 396 | comp_39=`ret *= GetPixel(.5+uv_orig*aspect.yx*10); |
| 397 | comp_40=`ret+=GetPixel(.5-uv_orig*aspect.xy*10); |
| 398 | comp_41=` |
| 399 | comp_42=`ret*=.5-dist*(ret1.y); |
| 400 | comp_43=`ret += ret1*2+8*GetBlur2(.5*uv2.xy*aspect.xy*10); |
| 401 | comp_44=`ret*=1*GetBlur1(.5+uv*aspect.xy); |
| 402 | comp_45=`ret-=10*(lum(uv_orig*aspect.xy)*float3(.9,.9,.92)+lum(-uv_orig*aspect.xy)*float3(.9,.9,.92)); |
| 403 | comp_46=`ret*=3; |
| 404 | comp_47=`} |